<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script type="text/javascript">

        var browser=navigator.appName;

        var b_version=navigator.appVersion;

        document.write("Browser name"+browser);

        document.write("<br>");

        document.write("Browser version"+b_version);

    </script>
</head>
<body>

</body>
</html>